<script>
export default {
	onLaunch: function (options) {
		console.log(options)
		console.log('App Launch');
		if(options.query){
			const  {type} = options.query
			if(type){
				console.log(type)
				uni.setStorage({
					key:'scanCode',
					data:{
						type:type
					}
				})
			}
		}
	},
	onShow: function () {
		console.log('App Show');
	},
	onHide: function () {
		console.log('App Hide');
	}
};
</script>

<style lang="scss" scoped>
@import 'uview-ui/index.scss';
.auto_con {
	width: 94.7%;
	margin: 0 auto;
}
</style>
